package com.potenza.training.resume.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.potenza.training.resume.entity.*;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 编辑个人资料
 *
 * @author lihonggang
 * @email lihonggang@gmail.com
 * @date 2021-07-15 15:52:55
 */
public interface ResumeBasicService extends IService<ResumeBasicEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R updatePhone(String phone, String code);

    ResumeBasicEntity findResumeByUid(Long uid);

    List<ResumeBasicEntity> findResumeByClazzId(Integer clazzId);

    ResumeBasicEntity findResumeBasic(int resumeId);

    List<AdvantageEntity> findAdvange(int resumeId);

    List<WorkExperienceEntity> findWorkExpersoin(int resumeId);

    List<ResumeHope> findResumeHope(int resumeId);

    List<EducationExperienceEntity> findEducation(int resumeId);

    List<ItemExperienceEntity> findItem(int resumeId);

    List<SocialEntity> findSocial(int resumeId);

    List<ImageEntity> findImage(int resumeId);

    R updateStatus(Integer id,String status,String reason,String image) throws Exception;

    ExamineEntity findExamine(int resumeId);
}

